package com.kyh.annotation;

import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target(FIELD)
@Retention(RUNTIME)
public @interface Model {
	
	public enum TYPE {
		ENTITY, DATE, BASE, LEFT_JOIN, SUM, READ_ONLY;
	}
	
	String nameTable() default "";
	
	String nameTree() default "";
	
	String nameApp() default "";
	
	TYPE type() default TYPE.BASE;
	
	String format() default "";
	
	String table() default "";
	
	String colName() default "";
	
	String tableJoinName() default "A";
}
